import { Approval } from '@/components/business/Approval';
// import { useApprovalProvide } from '@/components/business/Approval/approval-helper';
// const { getApprovalProgress, processInstanceId } = useApprovalProvide();

export default defineComponent(() => {

  const flowId = ref('');

  setTimeout(() => {
    flowId.value = '1745340716010635265';
  }, 5000);
  setTimeout(() => {
    flowId.value = '1762363520793419777';
  }, 10000);

  return () => {
    return (
        <Approval processInst={flowId.value} />
    );
  };
});
